import sys
sys.path.append(r"/data/finance.Source/utils")
sys.path.append(r"/data/finance.Source/Analysis/strategy")

sys.path.append(r"/data/finance.Source/Analysis/strategy/config")


import datetimeutils
import selectsql
import bigbuysell

lastdate = datetimeutils.getlastday(-7)

dkdata = selectsql.selectonedayDKline('TA1905',lastdate)

print(dkdata)
if len(dkdata) == 0:
    print('空数据')
elif len(dkdata) > 0:
    print('有数据')

onedayfbdata= selectsql.selectoneNum(bigbuysell.TA["n100"],-7)

